package com.woniu.order.service;

import com.woniu.order.dto.ApplyOrderDto;
import com.woniu.order.pojo.ZfChanpin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author HP
* @description 针对表【zf_chanpin(产品表，包含产品信息、库存和销售单价等信息)】的数据库操作Service
* @createDate 2024-11-23 15:30:00
*/
public interface ZfChanpinService extends IService<ZfChanpin> {

    //减库存
    void reduce(List<ApplyOrderDto.ProductDto> productList);
}
